beginscendatascript;

//FLOOR TYPES

begindefinefloor 132;
	clear;
	fl_name = "Green Floor";
 fl_which_sheet = 761;
	fl_which_icon = 4;
 fl_ed_which_sheet = 686;
 fl_ed_which_icon = 14;
 fl_is_floor = 1;

begindefinefloor 133;
	clear;
	fl_name = "Runes";
 fl_which_sheet = 761;
	fl_which_icon = 5;
 fl_anim_steps = 4;
 fl_ed_which_sheet = 686;
 fl_ed_which_icon = 17;
 fl_is_floor = 1;

begindefinefloor 134;
	clear;
	fl_name = "Rug";
 fl_which_sheet = 761;
	fl_which_icon = 9;
 fl_ed_which_sheet = 686;
 fl_ed_which_icon = 19;
 fl_is_floor = 1;


//TERRAIN TYPES

begindefineterrain 432; 
	te_name = "Strange Device";
	te_which_sheet = 500;
	te_which_icon = 3;
	te_ed_which_sheet = 501;
	te_ed_which_icon = 23;
 te_full_move_block = 1;
 te_light_radius = 8;
 te_crumble_type = 6;
 te_terrain_to_crumble_to = 138;
 te_beam_hit_type = 3;
 te_special_property = 42; 

//CREATURE TYPES

// Darken Nephil Shaman
 begindefinecreature 255;
  import = 25;
 begindefinecreature 25;
  import = 255;
  cr_icon_adjust = 16;

// Set Golem Level
 begindefinecreature 255;
  import = 92;
 begindefinecreature 92;
  import = 255;
  cr_name = "Ancient Golem";
  cr_level = 20;
  cr_default_script = "golem";

// Arivan
begindefinecreature 234;
 clear;
 cr_name = "Arivan";
 cr_level = 20;
 cr_hp_bonus = 500;
 cr_sp_bonus = 250;
 cr_default_attitude = 2;
 cr_species = 12;
 cr_which_sheet = 1525;
 cr_icon_adjust = 17;
 cr_attack_1 = 5;
 cr_attack_1_type = 0;
 cr_what_stat_adjust 0 = 11;
 cr_amount_stat_adjust 0 = 14;
 cr_what_stat_adjust 1 = 12;
 cr_amount_stat_adjust 1 = 14;
 cr_default_strategy = 1;

// Klinger
begindefinecreature 235;
 clear;
 cr_name = "Klinger";
 cr_level = 6;
 cr_hp_bonus = 20;
 cr_default_attitude = 2;
 cr_species = 12;
 cr_which_sheet = 1524;
 cr_attack_1 = 8;
 cr_attack_1_type = 0;
 cr_what_stat_adjust 0 = 1;
 cr_amount_stat_adjust 0 = 2;
 cr_what_stat_adjust 1 = 6;
 cr_amount_stat_adjust 1 = 6;
 cr_start_item 0 = 92;
 cr_start_item_chance 0 = 100;
 cr_start_item 1 = 101;
 cr_start_item_chance 1 = 100;
 cr_start_item 2 = 220;
 cr_start_item_chance 2 = 100;
 cr_start_item 3 = 27;
 cr_start_item_chance 3 = 100;
 cr_default_strategy = 1;

// Valzier
begindefinecreature 236;
 clear;
 cr_name = "Valzier";
 cr_level = 5;
 cr_hp_bonus = 50;
 cr_sp_bonus = 100;
 cr_default_attitude = 2;
 cr_species = 12;
 cr_which_sheet = 1526;
 cr_icon_adjust = 18;
 cr_attack_1 = 5;
 cr_attack_1_type = 0;
 cr_what_stat_adjust 0 = 11;
 cr_amount_stat_adjust 0 = 8;
 cr_what_stat_adjust 1 = 12;
 cr_amount_stat_adjust 1 = 8;
 cr_start_item 0 = 16;
 cr_start_item_chance 0 = 100;
 cr_default_strategy = 1;

// Wanderer
begindefinecreature 237;
 clear;
 cr_name = "Wanderer";
 cr_default_script = "wanderer";
 cr_level = 2;
 cr_default_attitude = 3;
 cr_species = 2;
 cr_which_sheet = 1522;

// Haunted Nephil
begindefinecreature 238;
 clear;
 cr_name = "Haunted Nephil";
 cr_default_script = "haunted";
 cr_icon_adjust = 1;
 cr_level = 15;
 cr_hp_bonus = 50;
 cr_default_attitude = 4;
 cr_species = 8;
 cr_which_sheet = 1522;
 cr_attack_1 = 5;
 cr_special_abil = 4;
 cr_what_stat_adjust 0 = 0;
 cr_amount_stat_adjust 0 = 4;
 cr_what_stat_adjust 1 = 1;
 cr_amount_stat_adjust 1 = 4;
 cr_what_stat_adjust 2 = 2;
 cr_amount_stat_adjust 2 = 4;
 cr_what_stat_adjust 3 = 3;
 cr_amount_stat_adjust 3 = 4;
 cr_immunities 0 = 40;
 cr_immunities 1 = 100;
 cr_immunities 3 = 100;

// Perfect Spirit
begindefinecreature 239;
 clear;
 cr_name = "Perfect Spirit";
 cr_default_script = "pspirit";
 cr_level = 30;
 cr_default_attitude = 4;
 cr_default_courage = 0;
 cr_attack_1 = 0;
 cr_attack_1_type = 7;
 cr_hp_bonus = 2000;
 cr_immunities 0 = 100;
 cr_immunities 1 = 100;
 cr_immunities 2 = 100;
 cr_immunities 3 = 100;
 cr_immunities 4 = 100;
 cr_immunities 5 = 100;
 cr_which_sheet = 502;

// ITEM TYPES

// Give ruby special class
 begindefineitem 498;
  import = 205;
 begindefineitem 205;
  import = 498;
  it_special_class = 1;

begindefineitem 445;
	clear;
	it_name = "Golem Crystal";
	it_full_name = "Regeneration Shard";
	it_variety = 21;
	it_floor_which_sheet = 1024;
	it_floor_which_icon = 8;
	it_inventory_icon = 7;
 it_icon_adjust = 2;
	it_ability_1 = 172;
	it_ability_str_1 = 30;
	it_value = 500;
	it_weight = 5;
 it_once_per_day = 1;
 it_magic = 1;

begindefineitem 446;
	clear;
	it_name = "Dagger";
	it_full_name = "Shade Dagger";
 it_variety = 1;
 it_damage_per_level = 4;
 it_bonus = 1;
 it_weapon_skill_used = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 5;
	it_inventory_icon = 6; 
 it_icon_adjust = 16;
 it_ability_1 = 83;
 it_ability_str_1 = 4;
 it_value = 400;
 it_weight = 50;
 it_magic = 1;

begindefineitem 447;
	clear;
	it_name = "Rod";
	it_full_name = "Spectral Ward";
 it_variety = 9;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 8;
	it_inventory_icon = 9; 
 it_icon_adjust = 32;
 it_charges = 4;
 it_ability_1 = 220;
 it_ability_str_1 = 10;
 it_value = 250;
 it_weight = 50;
 it_magic = 1;

begindefineitem 448;
	clear;
	it_name = "Amulet";
	it_full_name = "Runed Amulet";
 it_variety = 19;
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 8;
	it_inventory_icon = 8; 
 it_charges = 1;
 it_ability_1 = 207;
 it_ability_str_1 = 11;
 it_value = 100;
 it_weight = 30;
 it_magic = 1;

begindefineitem 449;
	clear;
	it_name = "Robe";
	it_full_name = "Sapphire Robe";
 it_variety = 13;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 7;
	it_inventory_icon = 8; 
 it_icon_adjust = 1;
 it_protection = 2;
 it_ability_1 = 56;
 it_ability_str_1 = 2;
 it_ability_2 = 58;
 it_ability_str_2 = 2;
 it_value = 500;
 it_weight = 150;
 it_magic = 1;

begindefineitem 450;
	clear;
	it_name = "Ring";
	it_full_name = "Blaze Ring";
	it_variety = 18;
	it_floor_which_sheet = 1042;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_ability_1 = 100;
	it_ability_str_1 = 50;
	it_value = 400;
	it_weight = 1;
 it_identified = 1;
 it_once_per_day = 1;
 it_magic = 1;

begindefineitem 451;
	clear;
	it_name = "Strange Gloves";
	it_full_name = "Cosmos Gloves";
 it_variety = 15;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 8;
	it_inventory_icon = 9; 
 it_protection = 2;
 it_ability_1 = 19;
 it_ability_str_1 = 1;
 it_value = 300;
 it_weight = 25;
 it_magic = 1;

begindefineitem 452;
	clear;
	it_name = "Bracelet";
	it_full_name = "Silver Cross Bracelet";
 it_variety = 20;
	it_floor_which_sheet = 1018;
	it_floor_which_icon = 1;
	it_inventory_icon = 6;
 it_ability_1 = 82;
 it_ability_str_1 = 1;
 it_special_class = 2;
 it_value = 500;
 it_weight = 10;
 it_magic = 1;

begindefineitem 453;
	clear;
	it_name = "Bow";
	it_full_name = "Klinger's Bow";
 it_variety = 6;
 it_damage_per_level = 6;
 it_bonus = 0;
 it_weapon_skill_used = 6;
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 5;
	it_inventory_icon = 4; 
 it_icon_adjust = 2;
 it_ability_1 = 31;
 it_ability_str_1 = 2;
 it_identified = 1;
 it_value = 750;
 it_weight = 100;
 it_magic = 1;